package com.san.system.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.san.base.service.BaseService;
import com.san.system.domain.RoleDO;

@Service
public interface RoleService extends BaseService{
	
	/**
	 * 所有角色
	 * @return
	 */
	List<RoleDO> list();
	
	/**
	 * 用户拥有角色
	 * @param userId
	 * @return
	 */
	List<RoleDO> list(Long userId);
	
	int doEdit(Object obj);
}
